Environmental control system

ABSTRACT

An environmental control system disclosed includes a refrigeration loop including a variable speed compressor having an inlet and an outlet, a condenser, an evaporator and variable speed evaporator fan, temperature setpoint apparatus, recirculated air temperature sensor, evaporator, air inlet temperature sensor and an evaporator fan speed control for establishing the speed of the evaporator fan as a function of the desired air temperature and the recirculated air temperature and a compressor speed control for establishing the speed of the compressor as a function of at least the evaporator air inlet temperature and speed of the evaporator fan.

This is a divisional of copending application Ser. No. 07/583,233 filed on Sep. 14, 1990.

BACKGROUND OF THE INVENTION

This invention relates generally to systems for regulating the air temperature of a structure. More particularly, the invention relates to a system for cooling the environment internal to a vehicle. The invention is especially adapted to regulating the temperature of the passenger compartment of an automobile or the like.

Environmental control systems for vehicles traditionally include a refrigeration system using a belt-driven compressor which is driven from the vehicle's engine at a speed that is determined by the engine speed. The compressor is cycled on and off in order to regulate the temperature of the air supplied to the passenger compartment. Such a system presents wide fluctuations in compartment temperature and is extremely inefficient in performance. Furthermore, the use of belt-driven compressor results in significant leakage of environmentally damaging refrigerants to the atmosphere.

In order to overcome certain of these deficiencies, compressors having a variable output have been proposed with the output matched with the demand for cooling of the passenger compartment. Such systems may includes wobble-plate compressors and variable speed electric-motor-driven compressors. While the latter may be supplied in a hermetically sealed unit, and hence reduce the level of refrigerant discharge to the atmosphere, both systems are less than optimum in meeting the goal of control cycle efficiency.

Another problem with known environmental control systems is that the saturation pressure of the refrigerant, especially within the condenser, is very high. In addition to presenting a safety hazard, such pressures dictate increased structural measures in the components of the system, which does not add to the overall performance of the system.

SUMMARY OF THE INVENTION

The present invention is intended to provide an environmental control system which overcomes the problems of prior systems by operating in a continuous manner at an optimum control point. The present invention is also directed to providing an environmental control system that operates at refrigerant vapor pressures that are sufficiently low to avoid the necessity for many of the structural enhancements necessary in prior art systems. In fact, the pressures may be sufficiently low to allow major system components to be manufactured from polymeric materials.

An environmental system according to one aspect of the invention, includes a refrigeration loop having a centrifugal compressor and means for rotating the compressor at a variable rate of between 30,000 and 70,000 revolutions per minute. Control means are provided for establishing the rate at which the compressor is rotated. The control means includes, in one embodiment, means for sensing a plurality of parameters of the refrigeration loop and means for selecting the compressor rate of rotation in response to such plurality of parameters. A preferred refrigerant for use in the refrigeration loop has a saturation pressure in the condenser that is less than approximately 70 PSIA and a sub-atmospheric pressure in the evaporator. This may be achieved with a refrigerant having a specific volume that is substantially higher than that of common refrigerants, such as R-12.

An environmental control system according to another aspect of the invention includes a refrigerant loop having a variable speed compressor and a variable speed evaporator fan. Means are provided for monitoring the superheat condition of the compressor. A primary superheat control responds to the monitor means to establish, at least in part, the speed of the evaporator fan in a manner that will tend to maintain a predetermined superheat condition. Such a system may additionally include a variable speed condenser fan and secondary superheat control that is responsive to the monitor means to establish the speed of the condenser fan in a manner that will tend to maintain a predetermined superheat condition. Such secondary superheat control means in a preferred embodiment is actuated only when the evaporator fan reaches a predetermined speed. Such environmental control system may further include a tertiary superheat control that is responsive to the monitor means for modifying the speed of the compressor, which is otherwise established by a compressor speed control means, in a manner that will tend to maintain a predetermined superheat condition. In a preferred embodiment, the tertiary superheat control means is actuated only when the speed of the compressor fan reaches a predetermined speed.

According to another aspect of the invention, an environmental control system includes refrigeration loop including a variable speed compressor and a controllable expansion valve. The compressor speed is established by compressor speed control means and the setting of the expansion valve is established by an expansion valve control as a function of the speed of the compressor. In one embodiment, the variable speed compressor is a two-stage centrifugal compressor including a bypass valve that is operative to selectively bypass one stage of the compressor. In this embodiment, the setting of the expansion valve by the expansion valve control means is additionally a function of whether the bypass valve is being operated.

Accordingly to yet another aspect of the invention, an environmental control system includes a refrigeration loop and a variable speed evaporator fan for moving air across the evaporator. Temperature setpoint establishing means are provided for establishing a desired air temperature and cooled air temperature measuring means are provided for measuring the temperature of air that has been passed over the evaporator. Means are further provided for measuring the evaporator inlet temperature. An evaporator fan speed control establishes the speed of the evaporator fan as a function of the desired air temperature and the cooled air temperature. A compressor speed control establishes the speed of the compressor as a function of the evaporator inlet temperature and the speed of the evaporator fan.

According to yet another aspect of the invention, an environmental control system includes a refrigeration loop and a variable speed condenser fan. A compressor speed control means establishes the speed of a variable speed compressor as a function of the temperature in the vicinity of the evaporator. A condenser fan speed control means establishes the speed of the condenser fan as a function of the temperature in the vicinity of the condensor.

These and other objects, advantages and features of this invention will become apparent upon review of the following specification in conjuction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an environmental control system according to the invention;

FIG. 2 is a schematic diagram of an embodiment of the invention in a vehicle;

FIG. 3 is a block diagram of an electrical control according to the invention;

FIGS. 4a-4c are diagrams illustrating control schedules useful in the present invention;

FIGS. 5a-5c are diagrams showing limit schedules applied to values obtained from the the control schedules in FIGS. 4a-4c.;

FIGS. 6a and 6b illustrate a logic flow diagram of a control algorithm according to the invention;

FIG. 7 illustrates a schedule for the relationship useful in an embodiment of the invention for determining a glycol valve servo angle;

FIG. 8 illustrates a schedule of a family of curves useful in an embodiment of the invention for establishing the evaporator fan speed;

FIG. 9 illustrates a schedule of a family of curves useful in an embodiment of the invention for establishing limits on user manual selection of evaporator fan speeds;

FIG. 10 illustrates a schedule of relationships useful in an embodiment of the invention for relating compressor inlet pressure and temperatures;

FIG. 11 illustrates a schedule of a family of curves useful in an embodiment of the invention for establishing the compressor speed;

FIG. 12 illustrates a schedule of a family of curves and limits useful in an embodiment of the invention for establishing condenser fan speed;

FIG. 13 illustrates a schedule of a family of curves useful in an embodiment of the invention for establishing expansion valve duty cycle; and

FIG. 14 is a chart illustrating condenser heat rejection characteristics of a refrigerant useful in the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring now specifically to the drawings, and the illustrated embodiments depicted therein, an environmental control system 20 includes a refrigeration loop 22 including a variable speed compressor 24 having an outlet 26 connected with an inlet 28 of a condenser 30. Condensor 30 includes an outlet 32 connected through a standard sight gauge/filter, accumulator and dryer assembly 34 with an expansion valve 36. Expansion valve 36 is connected with an inlet 38 of an evaporator 40 whose outlet 42 is, in turn, connected with an inlet 44 of compressor 24.

Compressor 24 includes a brushless DC driven motor 46 and a two-stage centrifugal pump including a low pressure stage 48 and a high pressure stage 50. A shunt 52 interconnects the outlet of low pressure stage 48 with the inlet of high pressure stage 50 and a bypass, or surge control, valve 54 bypasses the appropriate stage to achieve the proper flow balance, when actuated. A variable speed condenser fan 56 moves air over condenser 30 and a variable speed evaporator fan 58 moves air over evaporator 40. A controller 60 receives inputs from a pressure sensor P1 and a temperature sensor T1, both connected with the inlet 44 to compressor 24, as well as from temperature sensor T_(c) for measuring the temperature of air flowing across condenser 30 and temperature sensor T_(e) for measuring the temperature of air flowing across evaporator 40. Outputs from controller 60 are provided as speed control signals to compressor 24, condenser fan 56 and evaporating fan 58, as a valve position signal to expansion valve 36, and as an open/close command to bypass valve 54.

In a preferred embodiment, a refrigerant in refrigeration loop 22 includes the thermal dynamic characteristics under the heading "selected refrigerant" in Table 1.

                                      TABLE 1                                      __________________________________________________________________________     THEORETICAL CYCLE COMPARISON                                                                                         SELECTED                                 REFRIGERANT         R-12  R-22  R-134a                                                                               REFRIGERANT                              __________________________________________________________________________     EVAPORATOR                                                                     SATURATION TEMPERATURE, F.                                                                         40    40    40    40                                       SATURATION PRESSURE, PSIA                                                                          51.7  49.2  80.7  2.17                                     COMPRESSOR                                                                     INLET FLOW FUNCTION,                                                            ##STR1##           0.066 0.058 0.028 1.43                                     PRESSURE RATIO      5.76  6.83  5.68  12.84                                    EFFICIENCY, ADIABATIC                                                                              0.7   0.7   0.7   0.7                                      MOTOR                                                                          SHAFT HORSEPOWER    4.2   4.57  4.42  3.35                                     EFFICIENCY          0.93  0.93  0.93  0.93                                     CONDENSER                                                                      SATURATION TEMPERATURE, F.                                                                         160   160   160   160                                      SATURATION PRESSURE, PSIA                                                                          279.8 316.2 444.5 26.2                                     COOLING CAPACITY, BTU/HR                                                                           18500 18500 18500 18500                                    HEAT REJECTION, BTU/HR                                                                             29900 30905 29725 27590                                    COEFFICIENT OF PERFORMANCE                                                                         1.81  1.67  1.65  2.25                                     REFRIGERANT FLOW, LB/SEC                                                                           0.146 0.122 0.101 0.133                                    __________________________________________________________________________

For comparison, the corresponding thermodynamic characteristics of refrigerant R-12, R-134A and R-22 are also illustrated in Table 1. When used in environmental control system 20, the results in Table 2 are achieved.

                  TABLE 2                                                          ______________________________________                                         ELECTRICALLY DRIVEN -                                                          2 STAGE CENTRIFUGAL COMPRESSOR                                                 ______________________________________                                         MOTOR              30,000 TO 75,000 RPM                                        VOLTAGE            48 v DC nominal                                             CURRENT            25 min TO 50 max AMPS                                       HORSEPOWER         1.2 TO 3.3 hp                                               CAPACITY           18,500 BTU/HR max                                           PRESSURE/REFRIGERANT                                                                              30-70 psi                                                   LUBRICANT          5 GS OIL                                                    COEF. OF PERF.     2.62                                                        BLOWER DISCHARGE   300 CFM                                                     NET OUTLET AIRFLOW 300 CFM                                                     (AT HEATER CORE)                                                               ______________________________________                                    

By reference to Tables 1 and 2 it may be seen that a coefficient of performance is achieved by the selected refrigerant that is at least as good as known refrigerants, at a condenser saturation pressure that is more than an order of magnitude lower than that for the illustrated common refrigerants. The evaporator saturation pressure is sub-atmospheric for the selected refrigerant. This result is achieved because of the high specific volume of the selected refrigerant, which is reflected in its inlet flow function as related to that set forth in Table 1 for the other refrigerants. It may additionally be seen that the compressor, is a two-stage centrifugal compressor, rotated at a speed of between 30,000 and 75,000 revolutions per minute. The selected refrigerant has the characteristics heat rejection curve illustrated in FIG. 14 when used in refrigerant loop 22.

The desirable characteristics for the selected refrigerants can be implemented in a hydrochloroflourocarbon or a hydroflourocarbon, both of which are known to be less harmful to the atmosphere than known chloroflourocarbons. Compressor 24 may be hermetically sealed in an enclosure (not shown) with motor 46 by using conventional sealed-compressor construction techniques. In the illustrated embodiment, motor 46 is a modified high performance brushless DC motor of the type manufactured by Inland Motor under Model Number RBE(H)06200 Series, modified to accommodate the increased RPM. Such modifications, which would be apparent to one skilled in the art, would include enhanced bearings and structural supports within the rotor. In a most preferred embodiment, the rotor is encapsulated with a carbon filament epoxy to accommodate finer surface grinding to reduce windage losses and to reduce the magnetic air gap to enhance efficiency. Motor 46 is driven at a controlled variable speed by motor controller similar to that disclosed in U.S. Pat. No. 4,455,513, issued to Donald E. Fulton et al. for a SELF-STARTING TRANSDUCERLESS BRUSHLESS DC MOTOR CONTROLLER, the disclosure of which is hereby incorporated herein by reference.

FIG. 2 illustrates an embodiment of environmental control system 20 installed with a vehicle passenger compartment 62. Evaporator 40 is juxtaposed with a pair of heater cores 64a, 64b for providing a heat input respectively to the right and left sides of the compartment. Air flows over evaporator 40 and right heater core 64a to right floor outlet 66a and right door panel outlets 68a. A manually adjustable control member 70a is provided to adjust the relative flow between outlets 66a an 68a. A similar arrangement is provided on the left side of the vehicle with left floor outlets 66b and left door outlets 68b controlled by valve 70b. A manually actuatable valve 72 controls the relative air flow between the defroster and dash panel Temperature sensors 74a, 74b monitor respectively the recirculated air temperature from the left and right sides of the vehicle. A temperature sensor 76 monitors the temperature of ambient air. An automatically controllable valve 78 controls the relative mix of the air flowing over the evaporator between recirculated air and outside air.

By reference to FIG. 3, system controller 60 is shown to additionally provide outputs to a right heater valve driver 80a and a left heater valve 80b for respective operation of right and left proportional heater core flow control valves 82a and 82b. Additional outputs from controller 60 include control signals to a pulse width modulating motor driver 84 for operation of the speed of evaporator fan motor 58 and to motor driver 86 for variable speed operation of condenser fan motor 56. Motor drivers 84 and 86 may be of the same structure as motor driver 45 for compressor motor 46. System controller 60 additionally has a serial interface 88 for interface with the vehicles control computer. The purpose of this interface is to allow the controller 60 to post diagnostic information with the vehicle's computer and to receive certain information regarding the operating condition of the vehicle, such as the outside air temperature and engine coolant, or glycol, temperature. Other vehicle operating information could optionally be used in combination with environmental control system 20 although not required.

In order to provide optimum performance from environmental control system 20, compressor 24 is operated substantially continuously and the capacity of system 20 controlled by varying the speed of compressor 24, condenser fan 56 and evaporator fan 58 as well as the proportional opening of expansion valve 36. Furthermore, bypass valve 54 is selectively opened when the speed of compressor 24 decreases below a predetermined value, in order to bypass one of the stages of the two-stage centrifugal compressor pump. In order to effect such control, an interrelationship of the parameters is generally set forth in FIG. 4a-4c. Controller 60 generally establishes the speed of the evaporator fan as a function of the difference between the temperature set by the user of the vehicle and the temperature of the air measured by temperature sensors 74a or 74b which establish an error signal. The evaporator fan speed is then applied to one of a family of curves 90a, 90b, 90c, depending on the evaporator inlet temperature that is sensed by sensor T_(e), to establish a compressor motor speed N_(x). The value of N_(x) is then applied, generally in accordance with the schedule in FIG. 4b, to one of curves 92a, 92b or 92c depending upon condenser inlet temperature sensed by sensor T_(c), to establish the speed of condenser fan 56. Additionally, the proportional setting of expansion valve 36 is established, generally in accordance with the schedule in FIG. 4c, by applying the value of compressor speed N_(x) to one of a family of curves 94a, 94b or 94c depending on the condenser inlet temperature to select a value of the expansion valve setting. The purpose of varying the proportional opening of expansion valve 36 as a function of the compressor speed is to account for the fact that, an increase in compressor speed will cause an increased mass flow of refrigerant. If the setting of the expansion valve is not changed, the increase in flow will modify the pressure across the evaporator. This would provide an undesirable effect on the system balance. Although a family of curves 94a-94c is shown in FIG. 4c, it has been discovered that the relationship between expansion valve setting and compressor motor speed is only remotely effected by condenser inlet temperature. Accordingly, only one curve is required in the embodiment illustrated in more detail below. However, the family of curves in FIGS. 4a and 4b provide an extremely optimal control point for control system 20 to maximize the energy efficiency of the system.

Certain limits are placed on the values that parameters may achieve in controller 60 as illustrated in FIGS. 5a-5c. A maximum amount that the expansion valve may be opened has been determined to be a function of the speed of the compressor as seen in FIG. 5a. Once the expansion valve setting is increased to the sloping line in FIG. 5a, it will not be opened further for that particular compressor speed. This curve is likewise bounded by maximum and minimum values of compressor speed N_(x) which are programmed in controller 60. As seen by reference to FIGS. 5b and 5c, the speed of the evaporator fan and the condenser fan are proportional to the respective temperatures to a given point, at which the fan speeds level out regardless of temperature. This is in order to prevent excessive speed of the fans.

In the illustrated embodiment, a general logic diagram of the software algorithm 100, carried out by controller 60, is illustrated in FIGS. 6a and 6b and the drawing figures that follow FIGS. 6a and 6b. Inputs to the logic scheme are shown on the left side of diagram and outputs on the right side. Recirculation temperature of the air on the right and left sides of the car are compared respectively with user selected temperatures by summing junctions 102 and 104. The outputs are provided to a series of comparitors 106 in order to establish dead bands. The output from comparitors 106 are provided to an OR gate 108 and an AND gate 110 in order to establish signals that the cooling mode or the heating mode, respectively, have been selected. If either side of the vehicle requires cooling, then a logic state on line 112 turns the compressor on. A test block 114 provides a shutdown of the compressor if controller 60 determines that the pressure sensor P1 is not responding normally. If the user selects either the defrost mode or the floor and defrost mode, as determined by OR gate 116, the compressor is energized by an AND gate 118 provided that the outdoor, or ambient, temperature is greater than 60° F., as determined by a comparator 120. A disable switch 122 is provided to prevent the compressor from being energized if the temperature of the water jacket of the engine is less than 60° F., as determined by a comparator 124. Line 126 extending from summing junction 102 and line 128 extending from summing valve 104 are applied by controller 60 to selectors 132 and 134, Which are implemented as a look-up table having the second-order curve 130 illustrated in FIG. 7. For each value of Delta T, or error signal, a servo valve angle is selected by selection means 132 and 134 respectively. The values selected from curve 130 is applied to summing injunctions 136, 138. The selected servo valve angle is overridden by the logic signal on line 140 if a defrost mode is selected. The resulting servo angle values are applied to the right and left glycol servo valve drivers 80a, 80b to establish the flow of glycol through the heater cores 64a, 64b.

The error signals on lines 126, 128 are applied to "highest-wins" gate 142 whose output is examined by gate 144 to determine if the greatest error signal is greater than 5° F. If so, controller 60 does not permit outside air to be brought into the vehicle compartment, regardless of the command of the user, as determined by AND gate 146. An OR gate 148, which provides an indication of whether outside or recirculated air is selected, additionally takes into account whether or not heat and/or defrost modes are selected.

The greatest of error signal on lines 126, 128, as determined by gate 142, is applied to a selection means 150 where it is compared with evaporator inlet temperature on line 152 (FIG. 6b). The schedule of selection means 150 is illustrated in FIG. 8 to include a family of curves 154a-154e to correspond to various levels of evaporator inlet temperature on line 152. Controller 60 selects the appropriate line 154a -154e and a value of evaporator fan input wattage that corresponds to the Delta T, or error signal, value obtained from gate 142. The resulting output is applied to a switch 156 which toggles between the output from selection means 150 and the output from a selection means 158. Selection means 158, whose schedule is illustrated in FIG. 9, provides limits to the speed that a user may manually set for the evaporator fan, depending upon the evaporator inlet temperature. The output from selection means 158 is applied to switch 156. Switch 156 responds to whether or not controller 60 is in the manual or automatic fan mode and applies the appropriate signal through a switch 160 if the temperature of the engine water jacket is above 60° F., as determined by a comparator 162. If the engine is too cold, switch 160 is opened so that no fan speed signal is provided. The output of switch 160 is provided to a "highest-wins" gate 164 to provide a fan speed select signal that does not decrease below 60 watts, and through a ramp circuit 166, to dampen excessive swings in the signal to prevent user-noticeable variations in evaporator fan speed. The output of circuit 166 is provided to a summing junction 168 whose output establishes the evaporator fan speed.

A selection means 170, whose schedule is illustrated in FIG. 11, receives an input of evaporator inlet temperature on line 172 which is used by controller 60 to select one of a family of curves 174a through 174e. Controller 60 compares the evaporator fan input wattage, as determined on line 176, which is the output from circuit 166 and is proportional to evaporator fan speed, to select a compressor speed from the curve. Two sets of compressor speed values are provided along the abscissa in FIG. 11. One set is used by controller 60 if bypass valve 54 is opened, and the other is used if bypass 54 is closed. The resulting selected compressor speed is applied to a summing junction 178, and hence, to the compressor motor controller, provided that switch 180 is closed indicating from line 112 that it is desired to operate the compressor.

Compressor air inlet temperature is provided to a selection means 181, which is programmed according to the schedule in FIG. 12, in order to allow controller 60 to select one of a family of curves 182a-182e depending on the value of condenser air inlet as measured by sensor T_(c). Compressor speed, which is inputted on line 171, is used to select a corresponding condenser fan speed from on selected curve 182a-182e. The selected value is applied to a summing junction 184. The output of summing junction 184 is applied to a "highest-wins" gate 186, which always maintains the value of the condenser speed above 150 watts.

A selection means 188, whose schedule is illustrated in FIG. 13, receives an input on line 194 of the status of bypass valve 54 which is used by controller 60 to select one of a family of curves 190a or 190b depending whether or not bypass valve 54 is opened. Although an input is provided from the condenser error inlet temperature sensor T_(c), in the illustrative embodiment, the relevance of this input is deemed to be minor so that it may be ignored. Accordingly, a value of the expansion valve duty cycle, or setting, which is provided on line 192, is based primarily on the value of compressor speed input on line 171 and whether or not the bypass valve is open or closed as provided on line 194.

The above described algorithms for establishing the values of the evaporator fan speed, condenser fan speed, compressor motor speed and expansion valve setting provide an optimal set point for the environmental control system 20. However, in order to avoid undesirable operating conditions, means are provided to avoid surging of the compressor by monitoring the superheat condition of the compressor inlet and responding to an undesirable condition. A selection means 196, having the schedule illustrated in FIG. 10, is provided in order to allow controller 60 to select a value of compressor inlet temperature on a curve 198 that corresponds to the compressor inlet pressure P1. The result, which corresponds to the minimum compressor inlet temperature for which surging may occur at the given value of P1, is applied to a summing junction 200 which also receives as an input the measured value of compressor inlet temperature measured by T1. The output of summing junction 200 provides a measure of the superheat of the compressor. This output on line 202 is provided through a switch 204, which responds to a failure of the temperature sensor, to summing junction 168, whose output establishes the evaporator fan speed. Accordingly, as the measure of compressor super heat on line 202 increases, the output of summing junction 168 decreases to provide a corresponding decrease in the evaporator fan speed. Conversely, if the value of the superheat parameter becomes negative, the result will be to increase the output of summing junction 168, and hence the evaporator fan speed. Under most operating conditions, the resulting change in the evaporator fan speed will cause an adjustment to the operating point of the system of a sufficient magnitude that it will cause the superheat of the condenser to return to a proper level.

A comparator 205 compares the speed of evaporator fan 58 with a fixed value, such as 318 watts, to determine if the evaporator fan speed is at a maximum safe limit. If it is, a logic signal on line 206 closes a switch 208 in order to select a secondary superheat control when switch 208 closes, the superheat value on line 202 is applied to summing junction 184 which results in a decrease in the condenser fan speed for an increasing superheat value on line 202 or an increase in the condenser fan speed for a decreasing superheat value. A comparator 210 compares condenser fan speed with a fixed value, such as 732 watts, to determine if the condenser fan speed has been increased to its maximum safe level. If so, a switch 212 is closed to invoke a tertiary superheat control. With switch 212 closed, the value of superheat on line 202 is applied to summing junction 178 to decrease the speed of compressor motor 46 for increasing superheat. With the speed of the compressor decreased, the superheat value will decrease. If the superheat value on line 202 decreases, the result will be an increase in the compressor motor speed which will result in a increase in the compressor inlet temperature and, hence, the superheat value. In the illustrated embodiment, it is believed that the tertiary superheat control circuit will rarely be required and that the primary and secondary superheat controls will be able to resolve most potential surging conditions.

Changes and modifications in the specifically described embodiments can be carried out without departing from the principles of the invention. For example, the invention may be applied to other systems such as a heat pump system. The protection afforded the invention is intended to be limited only by the scope of the appended claims, as interpreted according to the principles of patent law including the Doctrines of Equivalents. 

The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
 1. An environmental control system comprising:A refrigeration loop including a variable speed compressor having an inlet and an outlet, a condenser having an inlet connected with said compressor outlet and an outlet, and an evaporator having an inlet connected with said condenser outlet and an outlet connected with said compressor inlet; temperature setpoint establishing means for establishing a desired air temperature; a variable speed evaporator fan for moving air across said evaporator; recirculated air temperature measuring means for measuring the temperature of air that has passed over said evaporator; evaporator air inlet temperature measuring means for measuring the temperature of said evaporator adjacent its inlet; evaporator fan speed control means for establishing the speed of said evaporator fan as a function at least of said desired air temperature and said recirculated air temperature; and compressor speed control means for establishing the speed of said compressor as a function at least of said evaporator air inlet temperature and said speed of said evaporator fan.
 2. The system in claim 1 wherein said evaporator fan speed control means includes comparison means for comparing said recirculated air temperature and said desired air temperature to determine an error value and selection means for selecting a value of evaporator fan speed that corresponds to said error value.
 3. The system in claim 2 wherein said selection means includes a plurality of relationships between said error value and evaporator fan speed and wherein said selection means is responsive to said evaporator air inlet temperature in determining which of said relationships to use.
 4. The system in claim 1 wherein said compressor speed control means includes a plurality of relationships between said evaporator air inlet temperature and compressor speed and selection means for selecting a value of compressor speed that corresponds to said evaporator fan speed and wherein said selection means is responsive to said evaporator air inlet temperature in determining which of said relationships to use.
 5. The system in claim 1 wherein said compressor is a two-stage centrifugal compressor having bypass means for selectively bypassing one state of said compressor and further wherein said compressor speed selection means establishes the speed of said compressor as a function of whether said bypass means is bypassing said one stage. 